package com.huatai.saas.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 场景列表
 */
@Data
@ApiModel(value = "用户拥有场景列表", description = "用户拥有场景列表")
public class SceneFileAuthUserVo implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "场景id")
    private Long id;

	@ApiModelProperty(value = "场景授权id")
    private Long usaId;

	@ApiModelProperty(value = "文件名")
    private String fileName;

	@ApiModelProperty(value = "文件总大小")
	private Long totalSize;

	@ApiModelProperty(value = "版本描述")
	private String description;

	@ApiModelProperty(value = "授权开始时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime authStartTime;

	@ApiModelProperty(value = "授权结束时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime authEndTime;

	@ApiModelProperty(value = "文件保存路径")
	private String path="";

	@ApiModelProperty(value = "文件下载路径")
	private String pathUrl;

	@ApiModelProperty(value = "状态")
	private String status;

	@ApiModelProperty(value = "场景图片访问地址")
	private String pictureUrl;

	@ApiModelProperty(value = "场景图片地址")
	private String picturePath;

	@ApiModelProperty(value = "行业key")
	private String industryKey;
}
